﻿using Microsoft.OpenApi.Models;

namespace WcMatch.Models
{
    public class ActionStatus
    {
        public int StatusCode { get;set; } = 200;
        public string Message { get; set; } = string.Empty;
        public object Data { get;set; }

        public ActionStatus(int code, string msg, object data = null)
        {
            StatusCode = code;
            Message = msg;
            Data = data;
        }
    }
}
